<!DOCTYPE html>
<html lang="en">
<html>
<head>
    <meta charset="utf-8">
    <title>注册页面</title>
    <link rel="stylesheet" href="../../static/css/loginstyle.css">

    <script>
        window.οnlοad = function () {
            var pwd = document.getElementById("userPassword")
            btn.οnmοusedοwn = function () {
                type = "text"
            };
            btn.οnmοuseup = btn.οnmοuseοut = function () {
                type = "password"
            }
        }

    </script>
</head>
<body>
<div class="main">
    <h2>欢迎使用溜转！</h2>
    <form action="/registergoto/" method="post" class="form">
        {% csrf_token %}
        用户名: <input type="text" id="text1" name="userName" required="required"><br> <br>
        <!--输入的用户名保存到username变量，传回后端-->
        密&nbsp;&nbsp;&nbsp;码: <input type="password" name="userPassword" required="required"><br><br>
        <button type="submit">注册</button>
        <button type="reset">重置</button>
        <br><br>
    </form>
</div>
<script>


</script>
</body>
</html>